VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to get user server name [Computer name] when he login on network.

by RUSHIRAJ PATEL (3 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 23rd December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to get user server name [Computer name] when he login on network.

API Declarations





Rate How to get user server name [Computer name] when he login on network.



    Dim dl,cnt As Long
    Dim s As String
    cnt = 200
    s = Space$(cnt)
    dl = Len(s)
    Call GetComputerName(s, dl)
    Text1.Text = Left$(s, dl)
End Sub

Download this snippet    Add to My Saved Code

How to get user server name [Computer name] when he login on network. Comments

No comments have been posted about How to get user server name [Computer name] when he login on network.. Why not be the first to post a comment about How to get user server name [Computer name] when he login on network..

Post your comment

Subject:
Message:
0/1000 characters